Minerals & Lithology • SWIR-based index

NDLI – Normalized Difference Lignite Index

NDLI is a SWIR-based spectral index designed to enhance lignite / low-rank coal and related lithological units by comparing the relative response of SWIR1 and SWIR2. It is often used as part of mineral / lithology mapping workflows together with other SWIR-derived indices.


NDLI overview concept & use-cases

What does NDLI measure?

NDLI exploits the spectral contrast between two short-wave infrared (SWIR) bands to highlight materials whose reflectance shape is characteristic of lignite or certain clay-rich / altered rocks. In practice, it is used as a lithological discriminator in coal-bearing basins and structural / alteration mapping.

  • Detection and mapping of lignite / coal-bearing lithological units.
  • Supporting mineral exploration and lithological differentiation.
  • Complementing clay / iron-oxide indices in SWIR-based mapping.
  • Input layer for unsupervised or supervised lithology classification.

Note: several NDLI formulations exist in the literature. The expression below is provided as an example; adapt it to match the specific definition from your reference or publication.

NDLI formula (example)

General normalized difference form
NDLI = (SWIR1 - SWIR2) / (SWIR1 + SWIR2)

Positive NDLI values tend to correspond to targets with relatively stronger SWIR1 than SWIR2, while negative values indicate the opposite. The exact behaviour depends on sensor, lithology and atmospheric conditions.

Landsat 5 / 7 (TM / ETM+)
NDLI = (B5 - B7) / (B5 + B7)

B5 = SWIR1, B7 = SWIR2.

Landsat 8 / 9 (OLI)
NDLI = (B6 - B7) / (B6 + B7)

B6 = SWIR1, B7 = SWIR2.

Sentinel-2 MSI
NDLI = (B11 - B12) / (B11 + B12)

B11=SWIR1, B12=SWIR2.

Adapting the formula

Use SWIR bands best matching your reference definition. Always confirm the band centres and bandwidths for the sensor in use.

Required bands

Sensors & SWIR bands

Sensor SWIR1 SWIR2
Landsat 5 TM / 7 ETM+ B5 B7
Landsat 8 / 9 OLI B6 B7
Sentinel-2 MSI B11 B12

Tip: always work with surface-reflectance products (SR) and apply scale factors before computing NDLI. Consider terrain and illumination effects when interpreting results.

Typical behaviour

Target type NDLI trend
Lignite / coal-bearing units (example) Characteristic positive or distinct NDLI response
Clay-rich or altered rocks Intermediate, sensor- and context-dependent
Vegetation / water Usually low or noisy NDLI signal
Bright desert soil / sand Variable behaviour – must be validated

The exact numeric ranges of NDLI depend strongly on sensor, surface moisture, and atmospheric conditions. Always calibrate NDLI with field data or high-resolution imagery where possible.

Using NDLI in Google Earth Engine

  1. Select a surface-reflectance collection with two SWIR bands (e.g. Landsat 8/9 SR or Sentinel-2 SR).
  2. Filter by date, cloud cover, and region of interest.
  3. Compute NDLI as (SWIR1 - SWIR2) / (SWIR1 + SWIR2).
  4. Visualize the index and export it if needed.
// NDLI – Normalized Difference Lignite Index example (Landsat 8/9) in Google Earth Engine
var roi = /* your geometry here */;

// Landsat 8/9 SR collection
var l8 = ee.ImageCollection('LANDSAT/LC08/C02/T1_L2')
  .filterBounds(roi)
  .filterDate('2023-01-01', '2023-12-31')
  .filter(ee.Filter.lt('CLOUD_COVER', 20))
  .map(function(img) {
    // Apply scale factor to optical bands
    var optical = img.select(['SR_B.']).multiply(0.0000275).add(-0.2);

    var swir1 = optical.select('SR_B6');  // SWIR1
    var swir2 = optical.select('SR_B7');  // SWIR2

    var ndli = swir1.subtract(swir2)
                    .divide(swir1.add(swir2))
                    .rename('NDLI');

    return img.addBands(ndli);
  });

var ndliImage = l8.median().select('NDLI');

// Visualisation (example palette)
Map.centerObject(roi, 9);
Map.addLayer(ndliImage, {
  min: -0.5, max: 0.5,
  palette: ['#0b1120','#1d4ed8','#22c55e','#eab308','#f97316','#f97373']
}, 'NDLI');

// Optional export
Export.image.toDrive({
  image: ndliImage,
  description: 'NDLI_Landsat8_example',
  region: roi,
  scale: 30,
  maxPixels: 1e13
});

Important: if your NDLI definition in the literature uses a different combination of bands or log-transformed reflectance, replace the expression accordingly while keeping the same HTML layout in your indices library.

Part of the Start4IT Remote Sensing Indices Library. More indices & ready-to-use code: www.start4it.com/rs-indices